CVE-2024-27043
media: edia: dvbdev: fix a use-after-free
Description
In the Linux kernel, the following vulnerability has been resolved: media: edia: dvbdev: fix a use-after-free In dvb_register_device, *pdvbdev is set equal to dvbdev, which is freed in several error-handling paths. However, *pdvbdev is not set to NULL after dvbdev's deallocation, causing use-after-frees in many places, for example, in the following call chain: budget_register |-> dvb_dmxdev_init |-> dvb_register_device |-> dvb_dmxdev_release |-> dvb_unregister_device |-> dvb_remove_device |-> dvb_device_put |-> kref_put When calling dvb_unregister_device, dmxdev->dvbdev (i.e. *pdvbdev in dvb_register_device) could point to memory that had been freed in dvb_register_device. Thereafter, this pointer is transferred to kref_put and triggering a use-after-free.
INFO
Published Date :
May 1, 2024, 1:15 p.m.
Last Modified :
Dec. 23, 2024, 7:13 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update the Linux kernel to a patched version.
- Reboot the system after the update.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-27043.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-27043 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-27043
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-27043 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-27043 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Dec. 23, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE NIST CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.21 up to (excluding) 4.19.311 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.273 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.214 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.153 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.83 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.23 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.7.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.8 up to (excluding) 6.8.2 Changed Reference Type https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644 No Types Assigned https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644 Patch Changed Reference Type https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644 No Types Assigned https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644 Patch Changed Reference Type https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e No Types Assigned https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e Patch Changed Reference Type https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e No Types Assigned https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e Patch Changed Reference Type https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d No Types Assigned https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d Patch Changed Reference Type https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d No Types Assigned https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d Patch Changed Reference Type https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712 No Types Assigned https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712 Patch Changed Reference Type https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712 No Types Assigned https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712 Patch Changed Reference Type https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62 No Types Assigned https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62 Patch Changed Reference Type https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62 No Types Assigned https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62 Patch Changed Reference Type https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5 No Types Assigned https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5 Patch Changed Reference Type https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5 No Types Assigned https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5 Patch Changed Reference Type https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b No Types Assigned https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b Patch Changed Reference Type https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b No Types Assigned https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b Patch Changed Reference Type https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856 No Types Assigned https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856 Patch Changed Reference Type https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856 No Types Assigned https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856 Patch Changed Reference Type https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086 No Types Assigned https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086 Patch Changed Reference Type https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086 No Types Assigned https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086 Patch Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Patch Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644 Added Reference https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e Added Reference https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d Added Reference https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712 Added Reference https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62 Added Reference https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5 Added Reference https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b Added Reference https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856 Added Reference https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086 Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 05, 2024
Action Type Old Value New Value Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 27, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 25, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 01, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: media: edia: dvbdev: fix a use-after-free In dvb_register_device, *pdvbdev is set equal to dvbdev, which is freed in several error-handling paths. However, *pdvbdev is not set to NULL after dvbdev's deallocation, causing use-after-frees in many places, for example, in the following call chain: budget_register |-> dvb_dmxdev_init |-> dvb_register_device |-> dvb_dmxdev_release |-> dvb_unregister_device |-> dvb_remove_device |-> dvb_device_put |-> kref_put When calling dvb_unregister_device, dmxdev->dvbdev (i.e. *pdvbdev in dvb_register_device) could point to memory that had been freed in dvb_register_device. Thereafter, this pointer is transferred to kref_put and triggering a use-after-free. Added Reference kernel.org https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5 [No types assigned]